﻿using System;
using System.ComponentModel;
using System.Xml.Serialization;
using DevExpress.Xpo;
using DevExpress.Xpo.Metadata;
using DevExpress.Xpo.Helpers;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    [Persistent("TopLoginUser")]
    public class TopLoginUser : BaseObject
    {
        //begin
        public TopLoginUser()
        {}
        public TopLoginUser(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private string _UserId;
        public string UserId
        {
            get
            {
                return _UserId;
            }
            set
            {
                SetPropertyValue("UserId", ref _UserId, value);
            }
        }
        private string _Nick;
        public string Nick
        {
            get
            {
                return _Nick;
            }
            set
            {
                SetPropertyValue("Nick", ref _Nick, value);
            }
        }
        private string _UserType;
        public string UserType
        {
            get
            {
                return _UserType;
            }
            set
            {
                SetPropertyValue("UserType", ref _UserType, value);
            }
        }
        private DateTime _CreateTime;
        public DateTime CreateTime
        {
            get
            {
                return _CreateTime;
            }
            set
            {
                SetPropertyValue("CreateTime", ref _CreateTime, value);
            }
        }
        //end
    }
}
